Show body position

ABSTRACT

A capture device may capture a user&#39;s motion and a display device may display a model that maps to the user&#39;s motion, including gestures that are applicable for control. A user may be unfamiliar with a system that maps the user&#39;s motions or not know what gestures are applicable for an executing application. A user may not understand or know how to perform gestures that are applicable for the executing application. Providing visual feedback representing instructional gesture data to the user can teach the user how to properly gesture. The visual feedback may be provided in any number of suitable ways. For example, visual feedback may be provided via ghosted images, player avatars, or skeletal representations. The system can process prerecorded or live content for displaying visual feedback representing instructional gesture data. The feedback can portray the deltas between the user&#39;s actual position and the ideal gesture position.

BACKGROUND OF THE INVENTION

Many computing applications such as computer games, multimedia applications, office applications or the like use controls to allow users to manipulate game characters or other aspects of an application. Typically such controls are input using, for example, controllers, remotes, keyboards, mice, or the like. Unfortunately, such controls can be difficult to learn, thus creating a barrier between a user and such games and applications. Furthermore, such controls may be different than actual game actions or other application actions for which the controls are used. For example, a game control that causes a game character to swing a baseball bat may not correspond to an actual motion of swinging the baseball bat.

SUMMARY OF THE INVENTION

In some systems, a display device may display a model that maps to user motions that have been captured by the system. For example, the model may be displayed as an avatar on a screen, where that avatar's motion can be controlled by mapping the avatar's motion in an application space to the user's motions in the physical space. A user may be unfamiliar with a system that maps the user's motions. For example, the user may not know what gestures are applicable for an executing application. In some cases, a user will not understand or know how to perform the gestures that are applicable for the executing application. A verbal description in a handbook may be insufficient to teach a user how to properly gesture.

Disclosed herein are systems and methods for demonstrating motion that corresponds to various gestures. Providing visual feedback representing instructional gesture data to the user can teach the user how to properly gesture to control an application. The visual feedback may be provided in any number of suitable ways. For example, visual feedback may be provided via ghosted images, player avatars, or skeletal representations. In an example embodiment, the system processes prerecorded content for displaying visual feedback. In another example embodiment, the system processes a live feed or processes live content for displaying visual feedback. The instructional gesture data may be in the form of corrected or highlighted feedback of a user's motion to show correct gestures or errors in the user's motion that corresponds to a particular gesture. The feedback can portray the deltas between the user's actual position and the ideal gesture position.

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Furthermore, the claimed subject matter is not limited to implementations that solve any or all disadvantages noted in any part of this disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The systems, methods, and computer readable media for showing correct body positions via visual feedback, in accordance with this specification, are further described with reference to the accompanying drawings in which:

FIGS. 1A and 1B illustrate an example embodiment of a target recognition, analysis, and tracking system with a user playing a game.

FIG. 2 illustrates an example embodiment of a capture device that may be used in a target recognition, analysis, and tracking system and incorporate the display of visual feedback for demonstrating gestures.

FIG. 3 illustrates another example embodiment of a computing environment in which the techniques disclosed herein for providing visual feedback that demonstrates a gesture may be embodied.

FIG. 4 illustrates another example embodiment of a computing environment in which the techniques disclosed herein for providing visual feedback that demonstrates a gesture may be embodied.

FIG. 5A illustrates a skeletal mapping of a user that has been generated from a depth image.

FIG. 5B illustrates further details of the gesture recognizer architecture shown in FIG. 2.

FIGS. 6A-6D illustrate another example embodiment of target recognition, analysis and tracking with a user playing a boxing game.

FIGS. 7A-7D illustrate an example display of visual feedback side-by-side with a visual representation of a user's gestures.

FIG. 8A illustrates an example display of visual feedback superimposed on a visual representation of a user's gestures.

FIG. 8B illustrates an example display of visual feedback that comprises a demonstration of a gesture.

FIG. 9 illustrates an example display of options for entering into a training mode to receive visual feedback.

FIG. 10 illustrates remote users interacting over a network connection, where visual feedback of one user's motion is provided to the second user.

FIG. 11 depicts an example flow diagram for a method of rendering visual feedback and a visual representation of a user's gestures.

FIG. 12 depicts an example flow diagram for a method of determining whether or not to provide visual feedback.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

As will be described herein, a user may control an application executing on a computing environment such as a game console, a computer, or the like by performing one or more gestures. Disclosed herein are systems and methods for demonstrating motions for desired gestures to the user. For example, the computing environment may provide visual feedback to train a user how to make the appropriate motions applicable to an executing application.

To generate models representative of a target or object in a physical space, a capture device can capture a depth image of the physical space and scan targets in the scene. A target may include humans or other objects in the scene. In one embodiment, the capture device may determine whether one or more targets in the scene corresponds to a human target such as the user. To determine whether a target in the scene corresponds to a human target, each of the targets may be flood filled and compared to a pattern of a human body model. A target identified as a human may be scanned to generate a skeletal model associated therewith. The skeletal model may then be provided to a computing environment for tracking the skeletal model and rendering an avatar associated with the skeletal model. The computing environment may map the motions of the user in the physical space to a visual representation on a display device, such as an avatar. The computing environment may determine which controls to perform in an application executing on the computer environment based on, for example, gestures of the user that have been recognized and mapped to the skeletal model. Thus, user feedback may be displayed, such as via an avatar on a screen, and the user can control that avatar's motion and execute controls of the operating system or executing application, for example, by performing gestures in the physical space.

It may be desirable in some situations to provide visual feedback to teach a user how to gesture properly to control the executing application. For example, the user may not be aware of, or know how to perform, the motions that correspond to a particular gesture that is applicable to the executing application. The system may detect errors in the user's gestures, indicating that the user needs training to properly gesture.

Some of the functional units described in this specification have been labeled as modules, in order to more particularly emphasize their implementation independence. For example, a module may be implemented as a hardware circuit comprising custom VLSI circuits or gate arrays, off-the-shelf semiconductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.

Modules may also be implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be organized as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different locations which, when joined logically together, comprise the module and achieve the stated purpose for the module.

The system, methods, and components of providing visual training feedback as described herein may be embodied in a multi-media console, such as a gaming console, or in any other computing device in which it is desired to provide visual feedback, by way of example and without any intended limitation, satellite receivers, set top boxes, arcade games, personal computers (PCs), portable telephones, personal digital assistants (PDAs), and other hand-held devices.

FIGS. 1A and 1B illustrate an example embodiment of a configuration of a target recognition, analysis, and tracking system 10 with a user 18 playing a boxing game. In an example embodiment, the system 10 may recognize, analyze, and/or track a human target such as the user 18. The system 10 may gather information related to the user's gestures in the physical space.

The system 10 may provide visual feedback to a user to demonstrate desired gestures. The provision of the visual feedback may be triggered in a number of ways. For example, the system may detect an error in the user's motion or a deviation from an expected motion. The detection of such error or deviation may trigger visual feedback that demonstrates the desired gesture. In another example, the executing application may provide visual feedback for training purposes to demonstrate the appropriate motions for control. Feedback may take a variety of forms such as tactile, auditory and visual. In an embodiment, the feedback consists of an audio feedback, visual feedback, changing the color of a display element, lining of a display element, fading of a display element, strobing of a display element, a tracer pattern of some combination of these forms of feedback.

As shown in FIG. 1A, the target recognition, analysis, and tracking system 10 may include a computing environment 12. The computing environment 12 may be a computer, a gaming system or console, or the like. According to an example embodiment, the computing environment 12 may include hardware components and/or software components such that the computing environment 12 may be used to execute applications such as gaming applications, non-gaming applications, or the like.

As shown in FIG. 1A, the target recognition, analysis, and tracking system 10 may further include a capture device 20. The capture device 20 may be, for example, a camera that may be used to visually monitor one or more users, such as the user 18, such that gestures performed by the one or more users may be captured, analyzed, and tracked to perform one or more controls or actions within an application, as will be described in more detail below.

According to one embodiment, the target recognition, analysis, and tracking system 10 may be connected to an audiovisual device 16 such as a television, a monitor, a high-definition television (HDTV), or the like that may provide game or application visuals and/or audio to a user such as the user 18. For example, the computing environment 12 may include a video adapter such as a graphics card and/or an audio adapter such as a sound card that may provide audiovisual signals associated with the game application, non-game application, or the like. The audiovisual device 16 may receive the audiovisual signals from the computing environment 12 and may then output the game or application visuals and/or audio associated with the audiovisual signals to the user 18. According to one embodiment, the audiovisual device 16 may be connected to the computing environment 12 via, for example, an S-Video cable, a coaxial cable, an HDMI cable, a DVI cable, a VGA cable, or the like.

As shown in FIGS. 1A and 1B, the target recognition, analysis, and tracking system 10 may be used to recognize, analyze, and/or track a human target such as the user 18. For example, the user 18 may be tracked using the capture device 20 such that the movements of user 18 may be interpreted as controls that may be used to affect the application being executed by computer environment 12. Thus, according to one embodiment, the user 18 may move his or her body to control the application.

As shown in FIGS. 1A and 1B, in an example embodiment, the application executing on the computing environment 12 may be a boxing game that the user 18 may be playing. For example, the computing environment 12 may use the audiovisual device 16 to provide a visual representation of a boxing opponent 38 to the user 18. The computing environment 12 may also use the audiovisual device 16 to provide a visual representation of a player avatar 40 that the user 18 may control with his or her movements. For example, as shown in FIG. 1B, the user 18 may throw a punch in physical space to cause the player avatar 40 to throw a punch in game space. Thus, according to an example embodiment, the computer environment 12 and the capture device 20 of the target recognition, analysis, and tracking system 10 may be used to recognize and analyze the punch of the user 18 in physical space such that the punch may be interpreted as a game control of the player avatar 40 in game space.

Other movements by the user 18 may also be interpreted as other controls or actions, such as controls to bob, weave, shuffle, block, jab, or throw a variety of different power punches. Furthermore, some movements may be interpreted as controls that may correspond to actions other than controlling the player avatar 40. For example, the player may use movements to end, pause, or save a game, select a level, view high scores, communicate with a friend, etc.

As described in more detail below, the system 10 may provide visual feedback to the user 18 to demonstrate gestures that are applicable to the executing application. In an example embodiment, the visual feedback is prerecorded content in the form of a skeletal representation, a ghosted image, or a player avatar. In another example embodiment, live content may be presented to the user.

In example embodiments, the human target such as the user 18 may have an object. In such embodiments, the user of an electronic game may be holding the object such that the motions of the player and the object may be used to adjust and/or control parameters of the game. For example, the motion of a player holding a racket may be tracked and utilized for controlling an on-screen racket in an electronic sports game. In another example embodiment, the motion of a player holding an object may be tracked and utilized for controlling an on-screen weapon in an electronic combat game. The system 10 may provide visual feedback for demonstrating the gestures related to the user's motion with respect to the object the player is holding in the physical space and/or in the application space.

According to other example embodiments, the target recognition, analysis, and tracking system 10 may further be used to interpret target movements as operating system and/or application controls that are outside the realm of games. For example, virtually any controllable aspect of an operating system and/or application may be controlled by movements of the target such as the user 18. And the system 10 may provide visual feedback for demonstrating the gestures related to any controllable aspect of the operating system and/or application.

FIG. 2 illustrates an example embodiment of the capture device 20 that may be used in the target recognition, analysis, and tracking system 1O. According to an example embodiment, the capture device 20 may be configured to capture video with depth information including a depth image that may include depth values via any suitable technique including, for example, time-of-flight, structured light, stereo image, or the like. According to one embodiment, the capture device 20 may organize the calculated depth information into “Z layers,” or layers that may be perpendicular to a Z axis extending from the depth camera along its line of sight.

As shown in FIG. 2, the capture device 20 may include an image camera component 22. According to an example embodiment, the image camera component 22 may be a depth camera that may capture the depth image of a scene or an RGB camera 28 that may capture the color from the scene. The depth image may include a two-dimensional (2-D) pixel area of the captured scene where each pixel in the 2-D pixel area may represent a length in, for example, centimeters, millimeters, or the like of an object in the captured scene from the camera.

As shown in FIG. 2, according to an example embodiment, the image camera component 22 may include an IR light component 24, a three-dimensional (3-D) camera 26, and an RGB camera 28 that may be used to capture the depth image of a scene. For example, in time-of-flight analysis, the IR light component 24 of the capture device 20 may emit an infrared light onto the scene and may then use sensors (not shown) to detect the backscattered light from the surface of one or more targets and objects in the scene using, for example, the 3-D camera 26 and/or the RGB camera 28. In some embodiments, pulsed infrared light may be used such that the time between an outgoing light pulse and a corresponding incoming light pulse may be measured and used to determine a physical distance from the capture device 20 to a particular location on the targets or objects in the scene. Additionally, in other example embodiments, the phase of the outgoing light wave may be compared to the phase of the incoming light wave to determine a phase shift. The phase shift may then be used to determine a physical distance from the capture device to a particular location on the targets or objects.

According to another example embodiment, time-of-flight analysis may be used to indirectly determine a physical distance from the capture device 20 to a particular location on the targets or objects by analyzing the intensity of the reflected beam of light over time via various techniques including, for example, shuttered light pulse imaging.

In another example embodiment, the capture device 20 may use a structured light to capture depth information. In such an analysis, patterned light (i.e., light displayed as a known pattern such as grid pattern or a stripe pattern) may be projected onto the scene via, for example, the IR light component 24. Upon striking the surface of one or more targets or objects in the scene, the pattern may become deformed in response. Such a deformation of the pattern may be captured by, for example, the 3-D camera 26 and/or the RGB camera 28 and may then be analyzed to determine a physical distance from the capture device to a particular location on the targets or objects.

According to another embodiment, the capture device 20 may include two or more physically separated cameras that may view a scene from different angles, to obtain visual stereo data that may be resolved to generate depth information

The capture device 20 may further include a microphone 30. The microphone 30 may include a transducer or sensor that may receive and convert sound into an electrical signal. According to one embodiment, the microphone 30 may be used to reduce feedback between the capture device 20 and the computing environment 12 in the target recognition, analysis, and tracking system 10. Additionally, the microphone 30 may be used to receive audio signals that may also be provided by the user to control applications such as game applications, non-game applications, or the like that may be executed by the computing environment 12.

In an example embodiment, the capture device 20 may further include a processor 32 that may be in operative communication with the image camera component 22. The processor 32 may include a standardized processor, a specialized processor, a microprocessor, or the like that may execute instructions that may include instructions for receiving the depth image, determining whether a suitable target may be included in the depth image, converting the suitable target into a skeletal representation or model of the target, or any other suitable instruction.

The capture device 20 may further include a memory component 34 that may store the instructions that may be executed by the processor 32, images or frames of images captured by the 3-D camera or RGB camera, or any other suitable information, images, or the like. According to an example embodiment, the memory component 34 may include random access memory (RAM), read only memory (ROM), cache, Flash memory, a hard disk, or any other suitable storage component. As shown in FIG. 2, in one embodiment, the memory component 34 may be a separate component in communication with the image capture component 22 and the processor 32. According to another embodiment, the memory component 34 may be integrated into the processor 32 and/or the image capture component 22.

As shown in FIG. 2, the capture device 20 may be in communication with the computing environment 12 via a communication link 36. The communication link 36 may be a wired connection including, for example, a USB connection, a Firewire connection, an Ethernet cable connection, or the like and/or a wireless connection such as a wireless 802.11b, g, a, or n connection. According to one embodiment, the computing environment 12 may provide a clock to the capture device 20 that may be used to determine when to capture, for example, a scene via the communication link 36.

Additionally, the capture device 20 may provide the depth information and images captured by, for example, the 3-D camera 26 and/or the RGB camera 28, and a skeletal model that may be generated by the capture device 20 to the computing environment 12 via the communication link 36. The computing environment 12 may then use the skeletal model, depth information, and captured images to, for example, recognize user gestures and in response control an application such as a game or word processor. For example, as shown, in FIG. 2, the computing environment 12 may include a gesture recognition engine 192 and a gestures library 190 containing one or more gesture filters 191.

Each filter 191 may comprise information defining a gesture along with parameters, or metadata, for that gesture. The data captured by the cameras 26, 28 and device 20 in the form of the skeletal model and movements associated with it may be compared to the gesture filters in the gesture library 190 to identify when a user (as represented by the skeletal model) has performed one or more gestures. Inputs to a filter such as filter 191 may comprise things such as joint data about a user's joint position, like angles formed by the bones that meet at the joint, RGB color data from the scene, and the rate of change of an aspect of the user.

For instance, a throw, which comprises motion of one of the hands from behind the rear of the body to past the front of the body, may be implemented as a gesture filter comprising information representing the movement of one of the hands of the user from behind the rear of the body to past the front of the body, as that movement would be captured by a depth camera. Image data from the scene may also be captured from an RGB camera. As mentioned, parameters may be set for the gesture. Where the gesture is a throw, a parameter may be a threshold velocity that the hand has to reach, a distance the hand must travel (either absolute, or relative to the size of the user as a whole), and a confidence rating by the recognizer engine that the gesture occurred. These parameters for the gesture may vary between applications, between contexts of a single application, or within one context of one application over time.

Outputs from a filter 191 may comprise things such as the confidence that a given gesture is being made, the speed at which a gesture motion is made, and a time at which a gesture motion is made. The gestures may be associated with various controls of an application. Thus, the computing environment 12 may use the gesture recognizer engine 192 to interpret movements of the skeletal model and to control an application based on the movements.

The computing environment 12 may include a processor 195 that can process the depth image to determine what objects are in a scene, such as a user 18 or an object in the room. This can be done, for instance, by grouping together of pixels of the depth image that share a similar distance value. The image may also be parsed to produce a skeletal representation of the user, where features, such as joints and tissues that run between joints is identified. There exist skeletal mapping techniques to capture a person with a depth camera and from that determine various spots on that user's skeleton, joints of the hand, wrists, elbows, knees, nose, ankles, shoulders, and where the pelvis meets the spine. Other techniques include transforming the image into a body model representation of the person and transforming the image into a mesh model representation of the person.

In an embodiment, the processing is performed on the capture device 20 itself, and the raw image data of depth and color (where the capture device comprises a 3D camera) values are transmitted to the computing environment 12 via link 36. In another embodiment, the processing is performed by a processor 32 coupled to the camera 402 and then the parsed image data is sent to the computing environment 12. In still another embodiment, both the raw image data and the parsed image data are sent to the computing environment 12. The computing environment 12 may receive the parsed image data but it may still receive the raw data for executing the current process or application. For instance, if an image of the scene is transmitted across a computer network to another user, the computing environment 12 may transmit the raw data for processing by another computing environment.

The computing environment 12 may use the gestures library 190 to interpret movements of the skeletal model and to control an application based on the movements. The computing environment 12 can model and display a representation of a user, such as in the form of an avatar or a pointer on a display, such as on a display device 194. Display device 194 may include a computer monitor, a television screen, or any suitable display device. For example, a camera-controlled computer system may capture user image data and display user feedback on a television screen that maps to the user's gestures. The user feedback may be displayed as an avatar on the screen such as shown in FIGS. 1A and 1B.

The visual feedback library 193 may comprise information related to the visual feedback for a collection of gestures. The visual feedback library 193 may provide information to the display device 194 for the display of a visual representation of instructional gesture data. For example, the display device may display a skeletal representation, a ghosted image, or a player avatar that can demonstrate a gesture. As described in more detail below, FIGS. 7A-7D illustrate both the user feedback and the visual feedback comprising instructional gesture data, shown side by side. FIG. 8A illustrates an example display of visual feedback superimposed on a visual representation of a user's gestures. FIG. 8B illustrates an example display of visual feedback that comprises a demonstration of a gesture. FIG. 9 illustrates an example display of options for entering into a training mode to receive visual feedback. FIG. 10 illustrates remote users interacting over a network connection, where one user provides live visual feedback to the second user.

Various events may trigger the display of visual feedback for gesture demonstration. The system may detect errors in the user's motion, the user's motion may not correspond to a recognized gesture, the user may request training to learn a particular gesture, etc. An analysis of the user's motion may trigger the application to provide visual feedback to the user, or an option to view visual feedback, to teach the proper motion for, for example, throwing gestures recognized by the application. As described, the visual feedback may be in the form of a skeletal representation that demonstrates, for example, the proper overhand throwing gesture. The parameters and error identifiers for the gesture may vary between applications, between contexts of a single application, or within one context of one application over time.

The visual feedback information may be provided for training, correcting, modifying, or teaching a user to properly move in the physical space, to trigger a particular motion, or to properly move for success in the application. For example, the user may be playing a boxing game. The computing environment 12 may identify a gesture that is applicable to the executing application, such as an uppercut punch, and direct the display device 194 to provide the visual feedback comprising instructions for how to perform the uppercut punch. The visual feedback could be an avatar on a screen that demonstrates the proper motion for the uppercut punch.

A gesture filter 191 in the gestures library 190 that can recognize, track, or identify a gesture may also identify when visual feedback should be provided. For instance, where the gesture is an overhand throw, the data captured by the cameras 26, 28 and device 20 in the form of the skeletal model and movements associated with it may be compared to the gesture filters in the gesture library 190. An output of a filter may be the identification that the user (as represented by the skeletal model) is performing an overhand throwing gesture. An overhand throw, which comprises motion of one of the hands from behind the rear of the body to past the front of the body, may be implemented as a gesture filter comprising information representing the movement of one of the hands of the user from behind the rear of the body to past the front of the body, as that movement would be captured by a depth camera.

The variation between the user's gestures and the parameters set in the filter for an overhand throwing gesture may indicate a failure in the user's gesture and trigger entry into a training mode to teach the user the proper motion. The detection of an error or a change in the identified gesture based on filter parameters may trigger the display of visual feedback. Parameters may be set for an overhand throw that assist in identifying errors in the user's gesture. For example, the system may be executing a baseball game application. An overhand throwing gesture may have as a parameter a volume of space in which the user's arm should move. If a gesture filter 191 identifies, in the identified overhand throwing motion, that the user's arm has traveled outside the volume of space, this may be indicative of an error in the user's motion rather than a transition to a different gesture. The application may be expecting an overhand throwing gesture because the game is at a point where the user is pitching to a batter. The failure to recognize the user's gestures as the expected overhand throwing gesture may trigger the display of visual feedback. The gesture filter may not recognize the gesture as an overhand throwing gesture anymore because the motion no longer meets the parameters for an overhand throw, but instead meets the filter parameters for a different gesture, such as an underhand throwing motion. An unexpected transition between different gestures may trigger the display of visual feedback.

As mentioned, parameters may be set for a gesture. For example, where the gesture is a throw, a parameter may be a threshold velocity that the hand has to reach, a distance the hand must travel (either absolute, or relative to the size of the user as a whole), and a confidence rating by the recognizer engine that the gesture occurred. Various thresholds and ranges may be set for the parameters that indicate an error in the user's gesture. For example, the volume of space through which a user's arm should move could vary in size depending on the skill level of the user.

The parameters that correspond to each gesture may vary based on a user's performance, the executing application, a context, a skill level, or the like. For example, a parameter for an overhand football throw in a “beginner” skill level may comprise a larger volume of space through which the hand can travel such that the system associates the gesture with an overhand throw and processes it accordingly. By varying certain parameters associated with a gesture, the system can accommodate less experienced players.

Several possible gestures may correspond to the user's gesture. For example, a user's gesture measured in the physical space may meet the criteria of several filters, each comprising parameters for possible gestures. The variations between the data representative of the measured gesture and the filter parameters for possible gestures may indicate a failure in the execution of the measured gesture.

If the data representative of the user's gesture does not correspond to any filter parameters for possible gestures, it is likely that the user is not performing the gesture properly as it relates to the executing application. It may be desirable to trigger a training session for a user if the user's gestures are not registering as one of the possible gestures.

The system can predict the intention of the user's gesture if the user's gesture does not correspond to any filter data. The system may predict an intended gesture based on what gesture would be applicable for the executing application at that point in time. The prediction may be based on a comparison of the data representative of the measured gesture and the filter parameters and identifying the gesture(s) with parameters that more closely match the measured gesture data.

Variations between the data representative of the measured gesture and the filter parameters for possible gestures may indicate a failure in the execution of the measured gesture. The variation can be compared to a threshold level of acceptance, where a variance amount that is below the threshold may trigger visual feedback with instructional gesture data. The threshold level of acceptance could be related to the confidence rating. As described above, outputs from a filter may comprise things such as the confidence that a given gesture is being made. A low confidence rating may be an indication that a user is not gesturing properly. The threshold level of acceptance may be set based on the confidence rating. For example, if the gesture is identified by the gesture recognizer engine as an overhand throw, and the confidence rating is low, the system may trigger the display of visual feedback with instructional gesture data. Alternately, the system may require a high confidence rating such that there is a higher confidence that the user is attempting the particular gesture. The visual feedback may trigger when variations between the data representative of the measured gesture and filter parameters are below a threshold level of acceptance.

The threshold level of acceptance could be a value set for a certain filter parameter. Each parameter of a filter that represents a gesture could have a threshold level of acceptance. The threshold level of acceptance could be a single threshold value or a range of acceptable values. If a measurement of the user's measured gesture does not meet the threshold level or fall within the acceptable range, it may be desirable to display visual feedback comprising instructional gesture data. For example, the threshold level of acceptance for an overhand throw, as it applies to a pitching motion in a baseball game, may be set as a velocity equal to 25 mph. Thus, if the user's gesture is identified as an overhand throw, the velocity parameter of the filter for an overhand throw may be compared to the velocity of the user's measured gesture. If the user's measured velocity does not meet 25mph, this may trigger the display of visual feedback to teach the user how to properly motion to reach the proper velocity.

The threshold level of acceptance may be set, modified, or changed depending on the context, a user, the gesture-based system, history data for a user, history data for an application, an identity of improvement, etc. The threshold level could be an acceptable amount of variance from a preferred parameter or from a range of parameter values associated with a possible gesture. The values for a threshold level of acceptance may be based on a user's performance, the executing application, a context, a skill level, or the like. The threshold level of acceptance may be based on a single filter parameter or a plurality of filter parameters for a particular gesture. Similarly, the system can adapt the threshold level of acceptance for a gesture. For example, the threshold levels may be modified over time, changed by a user, the system or an application, for example.

Filter parameters and threshold levels of acceptance may be set such that the triggers for visual feedback are not in excess or are in accordance with user preferences. For example, some users may not want any training assistance or a user may not want to interrupt the executing application for training sessions, but rather select a training mode for instructional purposes. Rather than trigger the visual feedback every time there is a variation from filter data for a gesture, the system may determine whether or not to display the instructional gesture data based on various triggers.

The filter parameters and threshold levels of acceptance for error identification may be modified such that the visual feedback only triggers at useful times. For example, a gesture for an overhand throw may need to be recognized X number of times before feedback will be offered. Thus, the system can monitor a user's motion and not give feedback until a certain number of incorrect or varied motions. That way, it doesn't trigger if one mistake throw is made. But, if the program identifies something the user could change, even if they are executing the gesture with success, the system may provide an option for training. For example, if a user's overhand throw is identified, the system may identify that a change to the user's lower body could generate more velocity, or a change in the user's follow-through could create a curve ball motion.

If an inexperienced or beginner user is playing a throwing game, the filter parameters defining the volume of space may be larger allowing a larger margin of error before triggering visual feedback for the gesture. The user may also request that visual feedback be provided when the user is not meeting a particular skill level. The user may request visual feedback to help attain a higher skill level. The threshold of parameters may change depending on the skill level of the user. For example, a volume of space for a punch or an overhand throw may have a larger acceptable margin of error for a beginner player. Thus, the trigger for entering training mode or providing visual feedback may change depending on the parameters of the application, settings selected by the user, the type of training available for the application, etc.

The visual feedback library 193 may comprise modules that provide access to, store, and process visual feedback information for demonstrating a gesture. The visual feedback may be specific to an application, to a user, or to a particular gesture. Some gestures are applicable to a particular application, where the same gesture in another application results in a different control. For example, in one application, waving a hand may be the gesture that represents flying; in another application, holding both arms up and slowly swaying them back in forth may be the gesture that represents flying.

The information related to the visual feedback in the visual feedback library 193 may take any suitable form. In an example embodiment, the visual feedback is in the form of prerecorded content, i.e., content that is recorded during a stage prior to use of that content. The prerecorded content module 196 may record or store prerecorded content that supports the display of a demonstration of a gesture, such as prerecorded audio or visual related to a gesture. The prerecorded content module 196 may provide techniques for connecting to a network and receiving prerecorded gesture information from a remote server or via the computing environment of a networked user. The prerecorded content module 196 can process the prerecorded content to provide visual feedback for the gesture, such as by displaying a skeletal representation, a ghosted image, or a player avatar that demonstrates the gesture.

The prerecorded content may be specific to an application, to a user, to a gesture, or the prerecorded content may be applicable across applications or to a combination of users. The prerecorded content may be gesture information that was packaged in the visual feedback library 193 of a particular application. For example, if the application is a tennis game application, the application may include a visual feedback library with prerecorded gesture information for displaying tennis related gestures.

The prerecorded content may comprise content recorded by a user, where a user selects to record his or her own gestures for reviewing or for later use. For example, a user may be successful in a tennis game with a particular motion and record it such that, at a later time, the user can access the prerecorded content to view the prerecorded gesture. The user may then view his or her own prerecorded gesture for a demonstration of a gesture that the user has had success with in the past. The user may record gesture content that the system can use for demonstrating gestures to inexperienced users. For example, a parent may record his or her own successful gesture for review by a child. The child can later view and practice using the prerecorded gesture to learn the proper motions to make in the physical space.

In another example embodiment, the visual feedback is in the form of live content, i.e., any information related to providing real-time visual feedback of a gesture. A real-time display refers to the display of a visual representation of a gesture or display of visual feedback, wherein the display is simultaneously or almost simultaneously displayed with the performance of the gesture in the physical space. References to real-time include performance, wherein insignificant processing delays result in minimal delay of the display or are not visible at all to the user. Thus, real-time includes any insignificant delays pertaining to the timeliness of data which has been delayed by the time required for automatic data processing.

The live content module 197 may provide techniques for receiving, processing, and transmitting the live content. For example, the live content module 197 may provide techniques for connecting to a network and receiving a live feed containing gesture information from a remote server or from the computing environment of a networked user. The live content module 197 can process the live feed comprising gesture information to display in a real-time demonstration of a gesture. For example, a remote user could demonstrate a gesture, where information related to the remote user's gestures are transmitted over a network and received by a local user's computing environment. The local computing environment could process the live feed, such as via the live content module, and display visual feedback to a local user in real-time. The visual feedback could be a replay or a live representation of the user's gesture, represented via a visual representation of the user. The live content module 197 can display the visual feedback in any suitable manner, such as by displaying a skeletal representation, a ghosted image, or a player avatar that demonstrates the gesture.

The live content may be specific to an application or to a user, or the live content may be applicable across applications or to a combination of users. For example, live customer support may be accessible for a particular application from a remote computing environment, where the live customer support provides a live feed of gesture information. The live content module 197 may receive the live feed and provide visual feedback to a user that represents the gesture in real-time as the user is gesturing.

In another example of live feedback, users may be remotely connected or networked such that multiple users can interact via their respective computing environments. A first user may recognize that a second user, remote to the first, is performing a gesture incorrectly. The first user can provide a demonstration of the gesture to the user via the networked connection. The second user's computing environment, via the live content module 197, for example, may receive information related to the demonstrated gesture and provide visual feedback to the second user. Therefore, a first user can provide live gesture information to a second user to help the second user learn the proper motions to make in the physical space.

The gestures recognition engine 192, gestures library 190, and visual feedback library 193 may be implemented in hardware, software or a combination of both. For example, the gestures recognition engine 192, gestures library 190, and visual feedback library 193 may be implemented as software that executes on a processor, such as processor 195, of the computing environment, processor 32 of the capture device 20, on processing unit 101 of FIG. 3, or processing unit 259 of FIG. 4.

It is emphasized that the block diagram depicted in FIGS. 2-4 are exemplary and not intended to imply a specific implementation. Thus, the processor 195 or 32 in FIG. 1, the processing unit 101 of FIG. 3, and the processing unit 259 of FIG. 4, can be implemented as a single processor or multiple processors. Multiple processors can be distributed or centrally located. For example, the gesture recognition engine 192 may be implemented as software that executes on the processor 32 of the capture device and the gestures library and visual feedback library 193 may be implemented as software that executes on the processor 195 in the computing environment. Any combination of processors that are suitable for performing the techniques disclosed herein are contemplated. Multiple processors can communicate wirelessly, via hard wire, or a combination thereof.

FIG. 2 depicts the capture device 20 and the computing environment 12 separately, but it is contemplated that a system comprising any number of devices can perform the functionality shown in FIG. 2. For example, the computing environment may be incorporated into the capture device 20 such that the capture device can function as a single unit with one or more processors. Thus, while the computing environment 12 and capture device 20 are described separately herein, this is for illustration purposes. Any suitable device, system, or combination of devices and systems that can perform the disclosed techniques may be used.

FIG. 3 illustrates an example embodiment of a computing environment that may be used to implement the computing environment 12 of FIG. 2 to interpret one or more gestures in a target recognition, analysis, and tracking system. As shown in FIG. 3, the computing environment may be a multimedia console 100, such as a gaming console. As further shown in FIG. 3, the multimedia console 100 has a central processing unit (CPU) 101 having a level 1 cache 102, a level 2 cache 104, and a flash ROM (Read Only Memory) 106. The level 1 cache 102 and a level 2 cache 104 temporarily store data and hence reduce the number of memory access cycles, thereby improving processing speed and throughput. The CPU 101 may be provided having more than one core, and thus, additional level 1 and level 2 caches 102 and 104. The flash ROM 106 may store executable code that is loaded during an initial phase of a boot process when the multimedia console 100 is powered ON.

A graphics processing unit (GPU) 108 and a video encoder/video codec (coder/decoder) 114 form a video processing pipeline for high speed and high resolution graphics processing. Data is carried from the graphics processing unit 108 to the video encoder/video codec 114 via a bus. The video processing pipeline outputs data to an A/V (audio/video) port 140 for transmission to a television or other display. A memory controller 110 is connected to the GPU 108 to facilitate processor access to various types of memory 112, such as, but not limited to, a RAM (Random Access Memory).

The multimedia console 100 includes an I/O controller 120, a system management controller 122, an audio processing unit 123, a network interface controller 124, a first USB host controller 126, a second USB controller 128 and a front panel I/O subassembly 130 that are preferably implemented on a module 118. The USB controllers 126 and 128 serve as hosts for peripheral controllers 142(1)-142(2), a wireless adapter 148, and an external memory device 146 (e.g., flash memory, external CD/DVD ROM drive, removable media, etc.). The network interface 124 and/or wireless adapter 148 provide access to a network (e.g., the Internet, home network, etc.) and may be any of a wide variety of various wired or wireless adapter components including an Ethernet card, a modem, a Bluetooth module, a cable modem, and the like.

System memory 143 is provided to store application data that is loaded during the boot process. A media drive 144 is provided and may comprise a DVD/CD drive, hard drive, or other removable media drive, etc. The media drive 144 may be internal or external to the multimedia console 100. Application data may be accessed via the media drive 144 for execution, playback, etc. by the multimedia console 100. The media drive 144 is connected to the I/O controller 120 via a bus, such as a Serial ATA bus or other high speed connection (e.g., IEEE 1394).

The system management controller 122 provides a variety of service functions related to assuring availability of the multimedia console 100. The audio processing unit 123 and an audio codec 132 form a corresponding audio processing pipeline with high fidelity and stereo processing. Audio data is carried between the audio processing unit 123 and the audio codec 132 via a communication link. The audio processing pipeline outputs data to the A/V port 140 for reproduction by an external audio player or device having audio capabilities.

The front panel I/O subassembly 130 supports the functionality of the power button 150 and the eject button 152, as well as any LEDs (light emitting diodes) or other indicators exposed on the outer surface of the multimedia console 100. A system power supply module 136 provides power to the components of the multimedia console 100. A fan 138 cools the circuitry within the multimedia console 100.

The CPU 101, GPU 108, memory controller 110, and various other components within the multimedia console 100 are interconnected via one or more buses, including serial and parallel buses, a memory bus, a peripheral bus, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures can include a Peripheral Component Interconnects (PCI) bus, PCI-Express bus, etc.

When the multimedia console 100 is powered ON, application data may be loaded from the system memory 143 into memory 112 and/or caches 102, 104 and executed on the CPU 101. The application may present a graphical user interface that provides a consistent user experience when navigating to different media types available on the multimedia console 100. In operation, applications and/or other media contained within the media drive 144 may be launched or played from the media drive 144 to provide additional functionalities to the multimedia console 100.

The multimedia console 100 may be operated as a standalone system by simply connecting the system to a television or other display. In this standalone mode, the multimedia console 100 allows one or more users to interact with the system, watch movies, or listen to music. However, with the integration of broadband connectivity made available through the network interface 124 or the wireless adapter 148, the multimedia console 100 may further be operated as a participant in a larger network community.

When the multimedia console 100 is powered ON, a set amount of hardware resources are reserved for system use by the multimedia console operating system. These resources may include a reservation of memory (e.g., 16 MB), CPU and GPU cycles (e.g., 5%), networking bandwidth (e.g., 8 kbs), etc. Because these resources are reserved at system boot time, the reserved resources do not exist from the application's view.

In particular, the memory reservation preferably is large enough to contain the launch kernel, concurrent system applications and drivers. The CPU reservation is preferably constant such that if the reserved CPU usage is not used by the system applications, an idle thread will consume any unused cycles.

With regard to the GPU reservation, lightweight messages generated by the system applications (e.g., popups) are displayed by using a GPU interrupt to schedule code to render popup into an overlay. The amount of memory required for an overlay depends on the overlay area size and the overlay preferably scales with screen resolution. Where a full user interface is used by the concurrent system application, it is preferable to use a resolution independent of application resolution. A scaler may be used to set this resolution such that the need to change frequency and cause a TV resynch is eliminated.

After the multimedia console 100 boots and system resources are reserved, concurrent system applications execute to provide system functionalities. The system functionalities are encapsulated in a set of system applications that execute within the reserved system resources described above. The operating system kernel identifies threads that are system application threads versus gaming application threads. The system applications are preferably scheduled to run on the CPU 101 at predetermined times and intervals in order to provide a consistent system resource view to the application. The scheduling is to minimize cache disruption for the gaming application running on the console.

When a concurrent system application requires audio, audio processing is scheduled asynchronously to the gaming application due to time sensitivity. A multimedia console application manager (described below) controls the gaming application audio level (e.g., mute, attenuate) when system applications are active.

Input devices (e.g., controllers 142(1) and 142(2)) are shared by gaming applications and system applications. The input devices are not reserved resources, but are to be switched between system applications and the gaming application such that each will have a focus of the device. The application manager preferably controls the switching of input stream, without knowledge the gaming application's knowledge and a driver maintains state information regarding focus switches. The cameras 26, 28 and capture device 20 may define additional input devices for the console 100.

FIG. 4 illustrates another example embodiment of a computing environment 220 that may be used to implement the computing environment 12 shown in FIGS. 1A-2 used to interpret one or more gestures in a target recognition, analysis, and tracking system. The computing system environment 220 is only one example of a suitable computing environment and is not intended to suggest any limitation as to the scope of use or functionality of the presently disclosed subject matter. Neither should the computing environment 220 be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary operating environment 220. In some embodiments the various depicted computing elements may include circuitry configured to instantiate specific aspects of the present disclosure. For example, the term circuitry used in the disclosure can include specialized hardware components configured to perform function(s) by firmware or switches. In other examples embodiments the term circuitry can include a general purpose processing unit, memory, etc., configured by software instructions that embody logic operable to perform function(s). In example embodiments where circuitry includes a combination of hardware and software, an implementer may write source code embodying logic and the source code can be compiled into machine readable code that can be processed by the general purpose processing unit. Since one skilled in the art can appreciate that the state of the art has evolved to a point where there is little difference between hardware, software, or a combination of hardware/software, the selection of hardware versus software to effectuate specific functions is a design choice left to an implementer. More specifically, one of skill in the art can appreciate that a software process can be transformed into an equivalent hardware structure, and a hardware structure can itself be transformed into an equivalent software process. Thus, the selection of a hardware implementation versus a software implementation is one of design choice and left to the implementer.

In FIG. 4, the computing environment 220 comprises a computer 241, which typically includes a variety of computer readable media. Computer readable media can be any available media that can be accessed by computer 241 and includes both volatile and nonvolatile media, removable and non-removable media. The system memory 222 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 223 and random access memory (RAM) 260. A basic input/output system 224 (BIOS), containing the basic routines that help to transfer information between elements within computer 241, such as during start-up, is typically stored in ROM 223. RAM 260 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 259. By way of example, and not limitation, FIG. 4 illustrates operating system 225, application programs 226, other program modules 227, and program data 228.

The computer 241 may also include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only, FIG. 4 illustrates a hard disk drive 238 that reads from or writes to non-removable, nonvolatile magnetic media, a magnetic disk drive 239 that reads from or writes to a removable, nonvolatile magnetic disk 254, and an optical disk drive 240 that reads from or writes to a removable, nonvolatile optical disk 253 such as a CD ROM or other optical media. Other removable/non-removable, volatile/nonvolatile computer storage media that can be used in the exemplary operating environment include, but are not limited to, magnetic tape cassettes, flash memory cards, digital versatile disks, digital video tape, solid state RAM, solid state ROM, and the like. The hard disk drive 238 is typically connected to the system bus 221 through an non-removable memory interface such as interface 234, and magnetic disk drive 239 and optical disk drive 240 are typically connected to the system bus 221 by a removable memory interface, such as interface 235.

The drives and their associated computer storage media discussed above and illustrated in FIG. 4, provide storage of computer readable instructions, data structures, program modules and other data for the computer 241. In FIG. 4, for example, hard disk drive 238 is illustrated as storing operating system 258, application programs 257, other program modules 256, and program data 255. Note that these components can either be the same as or different from operating system 225, application programs 226, other program modules 227, and program data 228. Operating system 258, application programs 257, other program modules 256, and program data 255 are given different numbers here to illustrate that, at a minimum, they are different copies. A user may enter commands and information into the computer 241 through input devices such as a keyboard 251 and pointing device 252, commonly referred to as a mouse, trackball or touch pad. Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit 259 through a user input interface 236 that is coupled to the system bus, but may be connected by other interface and bus structures, such as a parallel port, game port or a universal serial bus (USB). The cameras 26, 28 and capture device 20 may define additional input devices for the console 100. A monitor 242 or other type of display device is also connected to the system bus 221 via an interface, such as a video interface 232. In addition to the monitor, computers may also include other peripheral output devices such as speakers 244 and printer 243, which may be connected through a output peripheral interface 233.

The computer 241 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 246. The remote computer 246 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 241, although only a memory storage device 247 has been illustrated in FIG. 4. The logical connections depicted in FIG. 2 include a local area network (LAN) 245 and a wide area network (WAN) 249, but may also include other networks. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets and the Internet.

When used in a LAN networking environment, the computer 241 is connected to the LAN 245 through a network interface or adapter 237. When used in a WAN networking environment, the computer 241 typically includes a modem 250 or other means for establishing communications over the WAN 249, such as the Internet. The modem 250, which may be internal or external, may be connected to the system bus 221 via the user input interface 236, or other appropriate mechanism. In a networked environment, program modules depicted relative to the computer 241, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation, FIG. 4 illustrates remote application programs 248 as residing on memory device 247. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.

The computer readable storage media described above may have stored thereon instructions for scanning a human in a captured scene. The computer executable instructions may comprise instructions for receiving a depth image of a physical space, wherein the depth image includes data representative of a gesture, and rendering visual feedback representing instructional gesture data for the gesture. The computer readable storage media described above may have stored thereon instructions for determining whether to provide instructional data. The instructions may comprise receiving image data for a scene, wherein the image data includes data representative of a gesture, comparing the data representative of the gesture to at least one output of a gesture filter, detecting a variation between the data representative of the gesture and the at least one output of the gesture filter, wherein the variation is indicative of a failure in an execution of the gesture; and based on the variation, determining whether to provide instructional gesture data.

FIG. 5A depicts an example skeletal mapping of a user that may be generated from the capture device 20. In this embodiment, a variety of joints and bones are identified: each hand 502, each forearm 504, each elbow 506, each bicep 508, each shoulder 510, each hip 512, each thigh 514, each knee 516, each foreleg 518, each foot 520, the head 522, the torso 524, the top 526 and bottom 528 of the spine, and the waist 530. Where more points are tracked, additional features may be identified, such as the bones and joints of the fingers or toes, or individual features of the face, such as the nose and eyes.

Through moving his body, a user may create gestures. A gesture comprises a motion or pose by a user that may be captured as image data and parsed for meaning. A gesture may be dynamic, comprising a motion, such as mimicking throwing a ball. A gesture may be a static pose, such as holding one's crossed forearms 504 in front of his torso 524. A gesture may be a single movement (e.g., a jump) or a continuous gesture (e.g., driving), and may be short in duration or long in duration (e.g., driving for 20 minutes). A gesture may also incorporate props, such as by swinging a mock sword. A gesture may comprise more than one body part, such as clapping the hands 502 together, or a subtler motion, such as pursing one's lips.

A user's gestures may be used for input in a general computing context. For instance, various motions of the hands 502 or other body parts may correspond to common system wide tasks such as navigate up or down in a hierarchical list, open a file, close a file, and save a file. For instance, a user may hold his hand with the fingers pointing up and the palm facing the capture device 20. He may then close his fingers towards the palm to make a fist, and this could be a gesture that indicates that the focused window in a window-based user-interface computing environment should be closed. Gestures may also be used in a video-game-specific context, depending on the game. For instance, with a driving game, various motions of the hands 502 and feet 520 may correspond to steering a vehicle in a direction, shifting gears, accelerating, and breaking. Thus, a gesture may indicate a wide variety of motions that map to a displayed user representation, and in a wide variety of applications, such as video games, text editors, word processing, data management, etc.

A user may generate a gesture that corresponds to walking or running, by walking or running in place himself. For example, the user may alternately lift and drop each leg 512-520 to mimic walking without moving. The system may parse this gesture by analyzing each hip 512 and each thigh 514. A step may be recognized when one hip-thigh angle (as measured relative to a vertical line, wherein a standing leg has a hip-thigh angle of 0°, and a forward horizontally extended leg has a hip-thigh angle of 90°) exceeds a certain threshold relative to the other thigh. A walk or run may be recognized after some number of consecutive steps by alternating legs. The time between the two most recent steps may be thought of as a period. After some number of periods where that threshold angle is not met, the system may determine that the walk or running gesture has ceased.

Given a “walk or run” gesture, an application may set values for parameters associated with this gesture. These parameters may include the above threshold angle, the number of steps required to initiate a walk or run gesture, a number of periods where no step occurs to end the gesture, and a threshold period that determines whether the gesture is a walk or a run. A fast period may correspond to a run, as the user will be moving his legs quickly, and a slower period may correspond to a walk.

A gesture may be associated with a set of default parameters at first that the application may override with its own parameters. In this scenario, an application is not forced to provide parameters, but may instead use a set of default parameters that allow the gesture to be recognized in the absence of application-defined parameters. Information related to the gesture may be stored for purposes of pre-canned gesture animation.

There are a variety of outputs that may be associated with the gesture. There may be a baseline “yes or no” as to whether a gesture is occurring. There also may be a confidence level, which corresponds to the likelihood that the user's tracked movement corresponds to the gesture. This could be a linear scale that ranges over floating point numbers between 0 and 1, inclusive. Wherein an application receiving this gesture information cannot accept false-positives as input, it may use only those recognized gestures that have a high confidence level, such as at least 0.95. Where an application must recognize every instance of the gesture, even at the cost of false-positives, it may use gestures that have at least a much lower confidence level, such as those merely greater than 0.2. The gesture may have an output for the time between the two most recent steps, and where only a first step has been registered, this may be set to a reserved value, such as −1 (since the time between any two steps must be positive). The gesture may also have an output for the highest thigh angle reached during the most recent step.

Another exemplary gesture is a “heel lift jump.” In this, a user may create the gesture by raising his heels off the ground, but keeping his toes planted. Alternatively, the user may jump into the air where his feet 520 leave the ground entirely. The system may parse the skeleton for this gesture by analyzing the angle relation of the shoulders 510, hips 512 and knees 516 to see if they are in a position of alignment equal to standing up straight. Then these points and upper 526 and lower 528 spine points may be monitored for any upward acceleration. A sufficient combination of acceleration may trigger a jump gesture. A sufficient combination of acceleration with a particular gesture may satisfy the parameters of a transition point.

Given this “heel lift jump” gesture, an application may set values for parameters associated with this gesture. The parameters may include the above acceleration threshold, which determines how fast some combination of the user's shoulders 510, hips 512 and knees 516 must move upward to trigger the gesture, as well as a maximum angle of alignment between the shoulders 510, hips 512 and knees 516 at which a jump may still be triggered. The outputs may comprise a confidence level, as well as the user's body angle at the time of the jump.

Setting parameters for a gesture based on the particulars of the application that will receive the gesture is important in accurately identifying gestures. Properly identifying gestures and the intent of a user greatly helps in creating a positive user experience.

An application may set values for parameters associated with various transition points to identify the points at which to use pre-canned animations. Transition points may be defined by various parameters, such as the identification of a particular gesture, a velocity, an angle of a target or object, or any combination thereof. If a transition point is defined at least in part by the identification of a particular gesture, then properly identifying gestures assists to increase the confidence level that the parameters of a transition point have been met.

Another parameter to a gesture may be a distance moved. Where a user's gestures control the actions of an avatar in a virtual environment, that avatar may be arm's length from a ball. If the user wishes to interact with the ball and grab it, this may require the user to extend his arm 502-510 to full length while making the grab gesture. In this situation, a similar grab gesture where the user only partially extends his arm 502-510 may not achieve the result of interacting with the ball. Likewise, a parameter of a transition point could be the identification of the grab gesture, where if the user only partially extends his arm 502-510, thereby not achieving the result of interacting with the ball, the user's gesture also will not meet the parameters of the transition point.

A gesture or a portion thereof may have as a parameter a volume of space in which it must occur. This volume of space may typically be expressed in relation to the body where a gesture comprises body movement. For instance, a football throwing gesture for a right-handed user may be recognized only in the volume of space no lower than the right shoulder 510 a, and on the same side of the head 522 as the throwing arm 502 a-310 a. It may not be necessary to define all bounds of a volume, such as with this throwing gesture, where an outer bound away from the body is left undefined, and the volume extends out indefinitely, or to the edge of scene that is being monitored.

FIG. 5B provides further details of one exemplary embodiment of the gesture recognizer engine 192 of FIG. 2. As shown, the gesture recognizer engine 192 may comprise at least one filter 519 to determine a gesture or gestures. A filter 519 comprises information defining a gesture 526 (hereinafter referred to as a “gesture”), and may comprise at least one parameter 528, or metadata, for that gesture. For instance, a throw, which comprises motion of one of the hands from behind the rear of the body to past the front of the body, may be implemented as a gesture 526 comprising information representing the movement of one of the hands of the user from behind the rear of the body to past the front of the body, as that movement would be captured by the depth camera. Parameters 528 may then be set for that gesture 526. Where the gesture 526 is a throw, a parameter 528 may be a threshold velocity that the hand has to reach, a distance the hand must travel (either absolute, or relative to the size of the user as a whole), and a confidence rating by the recognizer engine that the gesture occurred. These parameters 528 for the gesture 526 may vary between applications, between contexts of a single application, or within one context of one application over time.

Filters may be modular or interchangeable. In an embodiment, a filter has a number of inputs, each of those inputs having a type, and a number of outputs, each of those outputs having a type. In this situation, a first filter may be replaced with a second filter that has the same number and types of inputs and outputs as the first filter without altering any other aspect of the recognizer engine architecture. For instance, there may be a first filter for driving that takes as input skeletal data and outputs a confidence that the gesture associated with the filter is occurring and an angle of steering. Where one wishes to substitute this first driving filter with a second driving filter—perhaps because the second driving filter is more efficient and requires fewer processing resources—one may do so by simply replacing the first filter with the second filter so long as the second filter has those same inputs and outputs—one input of skeletal data type, and two outputs of confidence type and angle type.

A filter need not have a parameter. For instance, a “user height” filter that returns the user's height may not allow for any parameters that may be tuned. An alternate “user height” filter may have tunable parameters—such as to whether to account for a user's footwear, hairstyle, headwear and posture in determining the user's height.

Inputs to a filter may comprise things such as joint data about a user's joint position, like angles formed by the bones that meet at the joint, RGB color data from the scene, and the rate of change of an aspect of the user. Outputs from a filter may comprise things such as the confidence that a given gesture is being made, the speed at which a gesture motion is made, and a time at which a gesture motion is made.

A context may be a cultural context, and it may be an environmental context. A cultural context refers to the culture of a user using a system. Different cultures may use similar gestures to impart markedly different meanings. For instance, an American user who wishes to tell another user to “look” or “use his eyes” may put his index finger on his head close to the distal side of his eye. However, to an Italian user, this gesture may be interpreted as a reference to the mafia.

Similarly, there may be different contexts among different environments of a single application. Take a first-person shooter game that involves operating a motor vehicle. While the user is on foot, making a fist with the fingers towards the ground and extending the fist in front and away from the body may represent a punching gesture. While the user is in the driving context, that same motion may represent a “gear shifting” gesture. There may also be one or more menu environments, where the user can save his game, select among his character's equipment or perform similar actions that do not comprise direct game-play. In that environment, this same gesture may have a third meaning, such as to select something or to advance to another screen.

Filters can be run side by side, and multiple filters may look for the same things but different execution. Thus, the number of filters may increased depending on the permutation of motion that could define a gesture. For example, a curve ball may be an overhand gesture, but then, a player may prefer to throw underhand if they are successful that way.

The gesture recognizer engine 192 may have a base recognizer engine 517 that provides functionality to a gesture filter 519. In an embodiment, the functionality that the recognizer engine 517 implements includes an input-over-time archive that tracks recognized gestures and other input, a Hidden Markov Model implementation (where the modeled system is assumed to be a Markov process—one where a present state encapsulates any past state information necessary to determine a future state, so no other past state information must be maintained for this purpose—with unknown parameters, and hidden parameters are determined from the observable data), as well as other functionality required to solve particular instances of gesture recognition.

Filters 519 are loaded and implemented on top of the base recognizer engine 517 and can utilize services provided by the engine 517 to all filters 519. In an embodiment, the base recognizer engine 517 processes received data to determine whether it meets the requirements of any filter 519. Since these provided services, such as parsing the input, are provided once by the base recognizer engine 517 rather than by each filter 519, such a service need only be processed once in a period of time as opposed to once per filter 519 for that period, so the processing required to determine gestures is reduced.

An application may use the filters 519 provided by the recognizer engine 192, or it may provide its own filter 519, which plugs in to the base recognizer engine 517. In an embodiment, all filters 519 have a common interface to enable this plug-in characteristic. Further, all filters 519 may utilize parameters 528, so a single gesture tool as described below may be used to debug and tune the entire filter system 519.

These parameters 528 may be tuned for an application or a context of an application by a gesture tool 521. In an embodiment, the gesture tool 521 comprises a plurality of sliders 523, each slider 523 corresponding to a parameter 528, as well as a pictoral representation of a body 524. As a parameter 528 is adjusted with a corresponding slider 523, the body 524 may demonstrate both actions that would be recognized as the gesture with those parameters 528 and actions that would not be recognized as the gesture with those parameters 528, identified as such. This visualization of the parameters 528 of gestures provides an effective means to both debug and fine tune a gesture.

The example of an application executing on the computing environment shown in FIGS. 6A-6C is a boxing game that a user may be playing. FIGS. 6A-6C represent a user's punching gesture in the physical space, 62 a, 62 b, 62 c, where the visual representation of the user, 64 a, 64 b, 64 c maps to the user's motions in the physical space. Each of FIGS. 6A-6C illustrate the user's position in the physical space at three discrete points of time during the user's punching gesture, 62 a, 62 b, 62 c and an example of the visual representation of the user, 64 a, 64 b, 64 c, displayed in the application space. The rate that frames of image data are captured and displayed determines the level of continuity of the displayed motion of the visual representation. Though additional frames of image data may be captured and displayed, the frames depicted in FIGS. 6A-6C are selected for exemplary purposes.

The capture device 20 may capture, analyze, and track the user's motions made in the physical space, such as the user's punching gesture 62 a, 62 b, 62 c. According to an example embodiment, the capture device 20 may be configured to capture video with depth information including a depth image of a scene. The capture device 20 may provide the depth information and images captured and a skeletal model that may be generated by the capture device 20 for display by the audiovisual component 16. The user may view the image or visual representation of the user, 64 a, on an audiovisual device 16, such as a television screen shown in FIG. 6D.

The audiovisual device 16 may provide a visual representation of a player avatar, 64 a, 64 b, 64 c, that the user may control with his or her movements. The user's motions may map to the visual representation in the application space to perform one or more controls or actions within the application. For example, the user may be tracked using the capture device 20 such that gestures of user 18 may be interpreted as controls that may affect the application being executed by the computer environment. In the boxing game application, the user's gesture in the physical space in the form of a punching motion, 62 a, 62 b, 62 c, controls the gestures made by the visual representation, 64 a, 64 b, 64 c, causing a punch to occur in the game space. Thus, according to an example embodiment, a computer environment and the capture device 20 of the target recognition, analysis, and tracking system 10 may be used to recognize and analyze the punch of the user 18 in physical space such that the punch may be interpreted as a game control of the player avatar 40 in the game space. The visual representation may be mapped to the user's gestures and displayed in real-time with respect to the execution of the gesture in the physical space.

It may be desirable in some situations to provide visual feedback representing instructional gesture data to teach a user how to gesture properly. Instructional gesture data can teach a user how to gesture properly to control the executing application. In an example embodiment, the computing system or the executing application may identify errors in a user's gesture and provide instructional gesture data to highlight the errors. In another example embodiment, the user selects a training session or enters into training mode to learn how to gesture properly.

FIGS. 7A-C depict example split-screen screenshots for replaying a user's gestures as an avatar, with instructional gesture data displayed side-by-side with the avatar. The left side of each split-screen 700 renders the visual representation of a user's gestures at the three discrete points of time during the user's punching gesture, 64 a, 64 b, 64 c, as shown in FIGS. 6A-6C. The right side of each split-screen 702 renders an example embodiment of visual feedback representing instructional gesture data, 74 a, 74 b, 74 c, corresponding to each of the left and right frames of image data 700, 702 for avatars 64 a, 64 b, 64 c. FIG. 7D depicts the display portion of system 10 from FIGS. 1A and 1B, showing an example embodiment for displaying the split screen. In this example, the left side 700 of each of FIGS. 7A-7C corresponds to a snapshot or frame of image data as captured by a depth camera, a parallel RGB camera, or images combined from both cameras. On the right side of the split-screen 702, the system displays visual feedback that highlights an error in the user's gesture.

The visual feedback can be a demonstration of proper motion. For example, the user could select a training session for punches and the system could initiate an interactive training session that teaches the user the motion for a particular punch. The system can display the user's motion, live or replayed, along with the visual feedback, highlighting any errors in the user's motion. Various display techniques to highlight the errors in the user's gestures. The feedback can portray the delta between the user's actual position and the ideal position. For example, the arrows in FIG. 7B and 7C point to a part of the avatar's body, 64 a, 64 b, 64 c, that represents the user's positioning in the physical space, exemplifying how the user's positioning varies from an ideal gesture position at that point in time 74 a, 74 b, 74 c.

The system may provide visual feedback for training purposes to demonstrate the appropriate motions to control the system or an executing application. The training may be part of a training mode that the user actively selects to enter. The user may also request training, such as the first time the user executes an application. Various events may trigger the display of visual feedback for gesture demonstration. The system may detect an error in the user's motion or a deviation from an expected motion. The system may identify areas of a user's positioning throughout the gesture that could be improved to achieve higher success in the executing application. A user's gesture may not be one that corresponds to a recognized gesture, indicating that the user is unfamiliar with the applicable gestures. The system may predict the user's intended gesture and provide an option for training the user to properly make that gesture. The system may recognize an inexperienced user and offer training. Any of these events may trigger the display of visual feedback comprising instructional gesture data.

The system or application may comprise a training mode and an execution mode. The training mode may be entered into automatically as a result of a trigger, such as those described above. For example, if the user 18 is throwing a punch in the physical space that does not correspond to a recognized gesture, the system 10 may interrupt the application, enter into a training mode, and provide visual feedback that demonstrates appropriate gestures to the user.

The system may identify an error in the user's motion by evaluating the user's position in a single frame of captured data or over a series of frames. For example, the system may recognize a user's gesture as an uppercut punching motion, identified by movement within certain volumes of space with respect to the user. The system may also identify that, in certain frames of image data, the user is not moving his arm properly in the physical space or that changes in the user's motion could give more success in the boxing game.

The system may identify errors based on the certain parameters of the user's measured gesture, such as a deviation from an ideal velocity range or if the user's measured gesture falls outside the expected volumes of space. For example, a baseball application may direct the user to make an overhand throwing motion to throw a ball to a batter. A depth camera or an RGB camera may identify aspects of the user's motions in the physical space, and a gesture filter 191 may identify the motion to be in a class of throwing gestures. The parameters for various classes of throwing gestures may be distinguished based on the volume of space monitored around a user's head. An overhand throw may be the volume of space in front and behind the user's head but above the user's throwing shoulder. An underhand throw may be defined by a volume of space in front and below a user's waist, the volume extending between the shoulder and the user's waist. The gesture filter may identify an overhand throw based on parameters of the user's motion in the physical space. The gesture filter may expect an overhand throw (or an attempted overhand throw) due to the point of execution in the application (e.g., the user is at a point in a baseball application where the user is directed to throw a ball to a batter). Deviations from the filter parameters or the failure to meet threshold levels of acceptance may trigger the display of visual feedback.

The display of the visual feedback comprising instructional gesture data can take any suitable form. The instructional gesture data, 74 a, 74 b, 74 c, in this embodiment, is displayed as a stick figure representation, but it is contemplated that the visual representation may take on any suitable representation. For example, arrows or highlighted sections of the visual representation of the user may indicate proper gesturing, as shown in FIGS. 7A-7D. The display could be side-by-side representations of the user's gesture and the ideal gesture, also shown in FIGS. 7A-7D. The visual feedback could be in the form of replayed motion (at the rate of capture, slowed, fast, etc) or displayed in real-time. As shown in FIG. 8A, an image representing the instructional gesture data 804 could be ghosted or superimposed over the visual representation 802.

The left side 700 of each of FIGS. 7A-7C may correspond directly to a snapshot or frame of image data as captured by a depth camera and/or an RGB camera. The selected frames of image data may be replayed at any speed and can be viewed in a continuous replay of motion or one at a time as separate screen captures. The frames of image data may be replayed at a speed that corresponds to frames per second rate of capture. Instructional gesture data, such as that shown on the right hand side 702 of each of FIGS. 7A-7C, may correspond to the frames of image data shown on the left side 700. Any number of frames of image data may be captured and any number of corresponding frames of instructional gesture data may be generated for any given gesture. Thus, additional frames of image data and corresponding instructional gesture data may be available. The user can pause, scroll, view, zoom, etc the display of visual feedback.

The screenshot of image data on the left side 700 of FIG. 7B depicts the user's gesture 64 b at a second point in time. On the right side of the split-screen 702, the system displays visual feedback that highlights an error in the user's gesture. Displaying the visual representation of the user's gesture side by side with instructional gesture data that highlights an error in the user's gesture may assist the user to correct his or her motion in the physical space. For example, FIG. 7B highlights the error in the user's gesture by pointing with an arrow to the position of the user's arm. In this example, the visual feedback points to a better position for the user's arm at that point in the gesture to teach the user how to properly make an uppercut motion or to be more successful in the boxing game. Similarly, FIG. 7C depicts a screenshot of the user's image data, pointing out that at that point in the uppercut punching gesture, the user will achieve better success if he or she completes the motion with his arm in a higher position. The side by side depiction can demonstrate the delta between the user's actual position and the ideal position.

The system can display the user's motion along with live or real-time visual feedback to highlight the errors in the user's motion. Thus, instead of the screenshots of image data in FIGS. 7A-7C being a replay of the user's gesture, the user may gesture in the physical space and view live visual feedback on the right side of each split-screen 702. For example, the instructional gesture data may be provided in an interactive training session. The training session may demonstrate the proper positioning at discrete points in time throughout the uppercut punching gesture. At each discrete point, the user can gesture in the physical space and observe, in real time, the user's gesture as it compares to the visual feedback showing the proper gesture position. The user can cycle through various points in time, learning and performing the proper gesture at each point and receiving real-time visual feedback regarding the ideal position that the user should be in at that time. The user can correct his or her motion frame by frame.

While FIGS. 7A-7C depict a split-screen display of the visual representation of the user and the instructional gesture data, it is contemplated that the instructional gesture data may be provided in any suitable form. For example, rather than a split screen, just the left side of the split-screen 700 in FIGS. 7A-7C may be displayed to highlight the errors in the user's gesture. The errors are highlighted, in this example, as arrows that point to the deviation of the user's gesture. In another example, or combined with another form of instructional gesture data, auditory feedback such as a voice-over could verbalize the errors or possible corrections for the user.

The instructional gesture data may indicate a proper alignment of the user in the physical space to inform the user how to move into proper view of the capture device's field of capture. For example, if a particular gesture filter is failing to provide a confident result for a gesture because the motion of a limb captured by the capture device is moving out of view of the capture device's field of capture, the instructional gesture data may comprise a set of training data or feedback that informs the user that they need to move in the physical space for better alignment with the capture device. For example, a voice-over may say “please step to your left,” or the visual representation of the user on the screen, such as that shown by 64 a, 64 b, and 64 c, may only show a portion of the visual representation on the screen, indicating that the user needs to realign himself or herself in the physical space.

FIGS. 8A and 8B depict additional examples of providing instructional gesture data to a user. In FIG. 8A, a representation of a corrected gesture animation 804, shown as a stick figure representation, is superimposed or overlayed over the user's visual representation 802. Thus, an indication of proper motion overlaps the user's image data. The user can replay his or her motion and view the instructional gesture data 804 that overlaps the visual representation 802 of the user's gesture. The user can then observe the delta between the user's actual position and the ideal position. An arrow is just one example for providing a visual representation of the delta between the user's arm position and the visual feedback. Highlighting the delta allows the user to determine what modifications could improve the gesture in the physical space.

The training data may be displayed as an overlay, as shown in FIG. 8A, during the execution of the application, such as a game that is in progress. Thus, it may not be necessary to interrupt the game to go into a separate training mode. Instructional gesture data may comprise hints or small suggestions to the user's motion, and the hints may be expressed as an overlay in the game such that the game play continues uninterrupted while providing the instructional gesture data.

The example display of visual feedback in FIG. 8B is a visual representation of the instructional gesture data that includes a demonstration by a stick figure representation 806 of the gesture. The demonstration may be broken up into phases or be a continuous video clip. The visual representation of the instructional gesture data may be in any suitable form, such as in the form of a skeletal representation, a ghosted image, or a player avatar.

The application may trigger entry into a training mode as a result of a selection of a training mode by the user, a detection of user gesture error, the initiation of an application, or the like. For example, upon detection of an error in the user's gesture, an optional entry into training mode may be offered to the user. The system may not recognize the gesture made by the user and offer suggestions for training based on predictions of the user's intended motion. The system may recognize the gesture and offer suggestions as to a better gesture applicable to the application at that point in time, or offer suggestions for training to better gesture the gesture made by the user for more success in the application.

FIG. 9 depicts an example of options, 902 a, 902 b, 902 c, 902 d, that the system may display to a user in a boxing game. The display device 16 can display options for the predicted gesture(s), and the user can select an option to receive training to properly perform or improve performance of the gesture. The possible gestures may be any gesture applicable to a gesture-based system, an executing application, a plug-in with supplemental gestures, or the like. The options shown in FIG. 9, 902 a, 902 b, 902 c, 902 d, are applicable to the executing application, a boxing game.

In this example, the user's gesture in the physical space is identified as a punching gesture. As described above, a gestures recognition engine 192 may include a collection of gesture filters 191. Each filter 191 may comprise information defining a gesture along with parameters, or metadata, for that gesture. The data captured by the cameras 26, 28 and device 20 in the form of the skeletal model and movements associated with it may be compared to the gesture filters in the gesture library 190 to identify when a user has performed one or more gestures.

In an example embodiment, the system gathers and stores history data for a particular user, such as storing history data in a user profile. The system could adapt the filter parameters and the threshold level for the user based on this history data. For example, the filter parameters for the volume of space that are used to identify the gesture as an overhand throw may be set to default values in accordance with research or simulation data. A user's hand, however, may tend to be a distance further from the user's head than is common, and therefore outside the bounds of the volume of space set for an overhand throw. Initially, the variation may be indicative of a failure in the execution of the gesture, triggering a display or options for entering a training mode to learn how to execute the gesture. Over time, the system may gather data with respect to the user and modify the filter parameters to accommodate for the user's tendencies. For example, the parameters that define volume of space could be modified to shift the volume of space to more closely align with the user's body position. A threshold level of acceptance could also vary accordingly

The training session may be interactive such that the user's actual motion is evaluated, highlighted, corrected, etc, such as in the manner described in FIGS. 7A-7C. The visual feedback may be a demonstration of proper gestures applicable to an application that a user can practice in the physical space without a visual representation of the user's motion. FIG. 8B depicts an example of the demonstration of a proper gesture via separate frames of motion. The demonstration may highlight positions that the user's should place his or her body to properly perform the gesture. The demonstration may be irrespective of the user's gestures. Alternately, the visual feedback may be a result of an evaluation of the user's gestures, where the visual feedback pinpoints specific areas for improvement specific to the user.

Other techniques for displaying the visual feedback are possible. For example, a visual representation of the instructional gesture data may be on a portion of the display space, wherein the portion is smaller than a total display space. The visual feedback providing instructional gesture data may comprise a coach, such as a user-created coach, a human coach, a prerecorded coach, or the like. The coach may pop-up as a video feed. The coach may provide verbal instructions that correspond to the demonstrated gesture. A user could learn a gesture, such as how to throw a baseball, by accessing a training program. From the basics, the coach could walk the user through the gestures that make up a throw. The user may select a specific coach, such as from a collection of avatars that represent real or invented personas. Different personalities could be used, such as a famous baseball player. The representation of the coach may be prerecorded data displayed along with a demonstrated gesture. Alternately, the visual feedback may be a human coach, displayed live in real-time from another user. The visual feedback may be in the form of a voice-over or a live coach that provides gesture demonstration via a network.

FIG. 10 depicts an example of two users, User #1 and User #2, remotely connected and interacting through a boxing game application. The remote connection may be over a network, for example. The network may be managed by a host and may be a subscription-based system. Such a connection enables users to be remotely connected or networked such that multiple users can interact via their respective computing environments.

For example, consider first and second remote users executing a gaming application, playing as a team over a remote connection against other users. The first user may recognize that the second user is performing a certain motion incorrectly and is therefore causing failure in the game for the team. The first user may provide, in real-time, the demonstration of a gesture, 1002 a, such that the second user can observe the visual feedback on the display in the second user's computing environment, 1002 b. The second user's computing environment may receive information related to the demonstrated gesture and provide visual feedback to the second user. The visual feedback may be provided live to the second user, delayed only by the time it takes to transmit from the first user, and process and display the information to the second user. Suitable technology can be implemented such that transmission and processing times are fast, minimizing the delay of visual feedback to the second user based on the first user's live gesture demonstration.

The display of a visual representation of user #1 to user #2 in real-time may be a result of numerous triggers. For example, user #1 may request instruction from user #2, user #2 may recognize errors in user #1's gestures, users may interact for the purpose of learning tactics from each other, etc. The users may pause the application and have an interactive training session. User #1's computing environment may display a visual representation of user #2, simulating an in-person training session. User #2 can communicate, display motion, etc, that is simulated to user #2.

FIG. 11 is a flow diagram representing an example embodiment of the disclosed techniques. A system such as that depicted in FIGS. 1-3 may perform the operations in the flow diagram. At 1102, for example, a capture device such as a camera can receive a depth image that includes gesture data. The gesture data may be data representative of a user's gesture in a physical space. The system, such as via the capture device or computing environment, can scan the physical space to determine whether or not a human target is present at 1104. If so, the system can generate a model of the human target that represents the user at 1106. For example, the model may be a skeletal representation with hips, joints, and a bone structure of the user and generated based on the depth image. The data may be translated into a format suitable for display and, at 1108, a display device can render a visual representation of the model that maps to the gesture.

The system may also identify an intended control from the gesture data at 1110. For example, if a user is playing a boxing game and makes a punching motion, the system may identify the gesture as a punch via a gesture recognizer engine. The system can analyze the position of the user's arm throughout the punch to determine what kind of punch the user is gesturing (e.g., jab, uppercut, hook, etc). The gesture translates into a control of the application such that the model of the human target gestures in accordance with the human target's gestures. The system may render visual feedback representing instructional gesture data for the intended control. For example, if the user makes an uppercut punching motion but a variation in the position of the user's arm indicates that the user is not punching upwards fast enough to achieve success against an opponent, the system may enter in to a training mode or offer an option to enter into a training session. The training session may be specific to the application, the user, the system, etc, and it may assist the user in techniques to try in the physical space to improve the user's uppercut punching gesture.

FIG. 12 is another flow diagram representing an example embodiment of the disclosed techniques. The operations depicted in this flow diagram represent a method for determining whether or not to render visual feedback. It may not be desirable to trigger training in certain applications, or at certain times. Some users may prefer not to have training sessions. The determination whether or not to render visual feedback can be based on a number of factors to prevent unnecessary interruptions for a user.

A system such as that depicted in FIGS. 1-3 may perform the operations in the flow diagram. At 1202, for example, a capture device such as a camera can receive a depth image that includes gesture data. The gesture data may be data representative of a user's gesture in a physical space. The system, such as via the capture device or computing environment, can compare the gesture data to parameters in filters at 1204, where the filters comprise data for possible gestures. The system may identify the gesture as a certain type, but at 1206 the system may also identify variations between the gesture data and the parameters set in the filters for that gesture. For example, the system may detect a user's overhand throwing motion in the physical space as an overhand throw. However, the system may also detect that the velocity is slow considering the parameters set in the filter. Similarly, the system may not correspond the gesture to any of the possible gestures because the user's gesture is erroneous. The system may compare a confidence rating for various gestures to predict what gesture the user intended, and offer training for that intended gesture.

Filter parameters may be set specifically for purposes of improvement. For example, parameters for each of a beginner, medium, and high skill level may be set differently in the filter for the overhand throw. A “beginner” user may be given training to elevate the playing level to medium by teaching the user how to properly gesture, such as putting more velocity in the arm motion, or teaching the user to keep the user's arm straighter.

At 1208, the system may determine whether or not to provide instructional gesture data. The determination may be based on several factors, such as user preferences, an amount of variation from possible filter data, an option selected by the user, etc. If it is determined to provide instructional gesture data, the system can render visual feedback representing instructional gesture data at 1210.

It should be understood that the configurations and/or approaches described herein are exemplary in nature, and that these specific embodiments or examples are not to be considered limiting. The specific routines or methods described herein may represent one or more of any number of processing strategies. As such, various acts illustrated may be performed in the sequence illustrated, in other sequences, in parallel, or the like. Likewise, the order of the above-described processes may be changed.

Furthermore, while the present disclosure has been described in connection with the particular aspects, as illustrated in the various figures, it is understood that other similar aspects may be used or modifications and additions may be made to the described aspects for performing the same function of the present disclosure without deviating therefrom. The subject matter of the present disclosure includes all novel and non-obvious combinations and sub-combinations of the various processes, systems and configurations, and other features, functions, acts, and/or properties disclosed herein, as well as any and all equivalents thereof Thus, the methods and apparatus of the disclosed embodiments, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium. When the program code is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus configured for practicing the disclosed embodiments.

In addition to the specific implementations explicitly set forth herein, other aspects and implementations will be apparent to those skilled in the art from consideration of the specification disclosed herein. Therefore, the present disclosure should not be limited to any single aspect, but rather construed in breadth and scope in accordance with the appended claims. For example, the various procedures described herein may be implemented with hardware or software, or a combination of both. 

1. A method for providing feedback, the method comprising: receiving a request for instructions for at least one gesture; and rendering feedback representing instructional gesture data for the at least one gesture.
 2. The method of claim 1 further comprising: receiving a depth image of a physical space, wherein the depth image includes data representative of a gesture; determining whether the depth image includes a human target; scanning the human target if, based on the determination, the depth image includes a human target; generating a model of the human target based on the scan; and rendering a visual representation of the model that maps to the gesture of the human target.
 3. The method in accordance with claim 1, wherein the instructional gesture data comprises at least one of prerecorded content or live content.
 4. The method in accordance with claim 1, further comprising predicting an intended control from the data representative of the gesture, wherein the feedback rendered comprises instructional gesture data applicable to the prediction.
 5. The method in accordance with claim 1, wherein the feedback is at least one of visual or auditory feedback.
 6. The method in accordance with claim 1, wherein the feedback is a visual representation of the instructional gesture data in a form of a skeletal representation, a ghosted image, or a player avatar.
 7. The method in accordance with claim 1, wherein the feedback is rendered by rendering at least one of: a visual representation of the instructional gesture data superimposed by the visual representation of the gesture, side-by-side images of the visual representation of the gesture and a visual representation of the instructional gesture data, a visual representation of the gesture and corrected or highlighted feedback that indicates a delta between an actual position of the gesture and an ideal position, or a visual representation of the instructional gesture data on a portion of a display space, wherein the portion is smaller than a total display space.
 8. The method in accordance with claim 1, further comprising identifying a trigger that initiates the rendering of the feedback, wherein the trigger is one of an identification of a failure in an execution of the gesture, an initiation of an application, or a request for training of the gesture.
 9. The method in accordance with claim 1, further comprising determining a control to perform in an application based on the gesture, wherein the gesture is a gesture of a user in a physical space and is mapped to a skeletal model.
 10. A system for providing visual feedback, the system comprising: a capture device, wherein the capture device receives a depth image of a physical space having data representative of a measured gesture; a display device for rendering visual feedback representing instructional gesture data; and a processor, wherein the processor executes computer executable instructions.
 11. The system in accordance with claim 10, further comprising a networking component adapted to receive instructional gesture data over a network.
 12. The system in accordance with claim 10, wherein the computer executable instructions further comprise instructions for determining whether the depth image includes a human target, and wherein the capture device, based on a determination that the depth image includes a human target, scans the human target, tracks a skeletal model, and renders a visual representation that maps to the skeletal model.
 13. The system in accordance with claim 10, wherein the computer executable instructions further comprise instructions for selecting the visual feedback to render from at least one of prerecorded content or live content received over a network.
 14. The system in accordance with claim 10, wherein the computer executable instructions further comprise instructions for predicting an intended control from the data representative of the measured gesture, wherein the visual feedback rendered comprises instructional gesture data applicable to the prediction.
 15. The system in accordance with claim 10, wherein the display device renders the visual feedback in real-time or in slow motion.
 16. The system in accordance with claim 10, wherein the display device renders a visual representation that maps to the measured gesture, wherein the visual representation is based on a skeletal representation.
 17. The system in accordance with claim 10, wherein the visual feedback is a visual representation of the instructional gesture data in a form of a skeletal representation, a ghosted image, or a player avatar.
 18. The system in accordance with claim 10, wherein the display device renders the visual feedback in by rendering at least one of: a visual representation of the instructional gesture data superimposed by the visual representation of the measured gesture, side-by-side images of the visual representation of the measured gesture and a visual representation of the instructional gesture data, a visual representation of the measured gesture and corrected or highlighted feedback indicative of an error, such as a delta between an actual position and an ideal position, or a visual representation of the instructional gesture data on a portion of a display space, wherein the portion is smaller than a total display space.
 19. The system in accordance with claim 10, wherein the computer executable instructions further comprise instructions for identifying a trigger that initiates the rendering of the visual feedback, wherein the trigger is indicative of a failure in an execution of the measured gesture, an initiation of an application, or a request for training.
 20. A method for determining whether to provide instructional gesture data, the method comprising: receiving image data for a scene, wherein the image data includes data representative of a gesture; comparing the data representative of the gesture to at least one output of a gesture filter; detecting a variation between the data representative of the gesture and the at least one output of the gesture filter, wherein the variation is indicative of a failure in an execution of the gesture; and determining whether to provide instructional gesture data based on said detected variation. 